package com.springboot.datasource.interfaces;

import com.springboot.datasource.DataSourceEnum;

import java.lang.annotation.*;

/**
 * @description:
 * @author: zyj
 * @create: 2020-08-18 14:52
 **/
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataSource {

    DataSourceEnum value() default DataSourceEnum.DEFAULT;
}


